package com.pluginsacceptor.plugin.formula.information;
import com.pluginsacceptor.plugin.formula.MathsTrigo.support.DataListener;
import com.pluginsacceptor.plugin.formula.MathsTrigo.support.DataSender;
import com.pluginsacceptor.plugin.formula.MathsTrigo.support.MathData;
import com.pluginsacceptor.plugin.formula.datetime.AbstractListener2;


public class EstImpaireListenerCalcul extends AbstractListener2 {

	 /**
     * Constructor
     * @param dataListener
     * @param dataSender
     */
    public EstImpaireListenerCalcul(final DataListener dataListener, final DataSender dataSender) {
        super(dataListener, dataSender);
    }

	@Override
	protected String calculate() {
		
		final Informations info = new Informations();
    	final String result = info.estImpaire((MathData.silentParse(this.getUserData()[0])));
		return  result;

}
}

